package com.six.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.core.entity.CheckShop;
import com.six.core.entity.Shop;
import com.six.core.vo.ShopAndUserVo;
import com.six.shop.vo.SearchCheckShop;
import com.six.shop.vo.SearchShop;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * ClassName:ShopDao
 * Description:
 * date:2023/2/27 10:10
 *
 * @since JDK 1.8
 */
@Component
public interface ShopDao extends BaseMapper<Shop> {
    List<Shop> findAll(SearchShop shop);
    List<Shop> findAllShop(String userid);

    int updateStatetrue(Integer id);
    int updateStateflase(Integer id);
    int updateStateStart(Integer id);



    List<Shop> findAllNum();
    List<ShopAndUserVo> findShopAndPrice();
    List<Shop> findShopAndOrder();



}
